package com.xiyue.leaspring.service.impl;

import java.util.List;
import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiyue.leaspring.dao.IDeptDAO_JpaRepository;
import com.xiyue.leaspring.po.Dept;
import com.xiyue.leaspring.service.IDeptService_JpaRepository;

@Service
public class IDeptServiceImpl_JpaRepository implements IDeptService_JpaRepository {

	@Autowired
	private IDeptDAO_JpaRepository deptDao;
	
	@Override
	public List<Dept> list(Set<Long> ids) {
		// TODO Auto-generated method stub
		return this.deptDao.findAllById(ids);
	}

}
